// #include "tft_worker/stander_touch_sample.h"
#include <Arduino.h>
// #include "tft_worker/sprite_touch_sample.h"
// #include <tft_worker/button_work.h>
#include <tft_worker/lvgl_work.h>

// StanderTouchSample *stander_work;
// SpriteTouchSample *sprite_work;
// CButtonWork* button_work;
CLvglWork work;
void setup(void)
{
    Serial.begin(115200);
    Serial.println("TFT eSPI worker");
    // stander_work = new StanderTouchSample();
    // stander_work->setup();
    //  sprite_work = new SpriteTouchSample();
    //  sprite_work->setup();
    // button_work = new CButtonWork();
    // button_work->setup();
    work.setup();
}

void loop()
{
    // stander_work->loop();
    // Serial.println("main loop");
    // sprite_work->loop();
    work.loop();
}
